package com.gupao.pattern.proxy.staticproxy;

import com.gupao.pattern.proxy.Person;

public class Father {

    private Person person;

    public Father(Person person){
        this.person =person;
    }

    public void findLove(){
        System.out.println("物色对象");
        //person.findLove();
        System.out.println("找到对象");
    }

//    public static void main(String[] args) {
//        Father father=new Father(new Son());
//        father.findLove();
//    }
}
